package com.dbsync.core;

import java.util.List;

/**
 * 配置类
 */
public class Config {
    // 是否为热加载模式
    private Boolean hotload;
    // 源数据库对象
    private Database database;
    // 同步任务集合
    private List<Target> targets;

    public Boolean getHotload() {
        return hotload;
    }

    public void setHotload(Boolean hotload) {
        this.hotload = hotload;
    }

    public Database getDatabase() {
        return database;
    }

    public void setDatabase(Database database) {
        this.database = database;
    }

    public List<Target> getTargets() {
        return targets;
    }

    public void setTargets(List<Target> targets) {
        this.targets = targets;
    }
}
